package com.xbongbong.pro.common.pojo.dto;/*/*/

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Setter
@Getter
@ToString
public class LocationGetDTO extends BaseDTO {
    private static final long serialVersionUID = -9056356331925347973L;

    /**
     * 数据id
     */
    @NotNull(message = "{dto.msg.locationGet.dataId.NotNull}")
    @Min(value = 0, message = "{dto.msg.locationGet.dataId.Min}")
    private Long dataId;

    /**
     * 业务类型
     */
    @NotNull(message = "{dto.msg.locationGet.businessType.NotNull}")
    private Integer businessType;
}
